package org.john.auth.server.config;

import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LocalCacheConfig {
    @Bean(name = "guavaLocalCache")
    public Cache<String, Object> guavaLocalCache() {
        return CacheBuilder.newBuilder().build();
    }
}
